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AM,mBAAmCxB,MAAA,CAAhBH,EAAIb,WAAW,CAAC,KACzC0E,aAAc,CAAC,aAAa,CAC5BhE,KAAMF,OAAOK,EAAIH,IAAI,EACrBiE,OAAQ9D,CAAAA,OAAAA,CAAAA,EAAAA,EAAIK,MAAM,CAAC,EAAE,GAAbL,KAAAA,IAAAA,EAAAA,KAAAA,EAAAA,EAAeM,GAAG,EAAGN,EAAIK,MAAM,CAAC,EAAE,CAACC,GAAG,CAAG,GACjDsB,MAAO,CACLC,OAAQ,QACRC,KAAM,iBACNC,mBAAoB,uBACtB,GAVK/B,EAAIb,WAAW,SAgBhC","sources":["webpack://_N_E/?3d96","webpack://_N_E/./pages/benefit/jangji/[companyname].tsx","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/benefit/jangji/[companyname]\",\n function () {\n return require(\"private-next-pages/benefit/jangji/[companyname].tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/benefit/jangji/[companyname]\"])\n });\n }\n ","import {\n ETypeMainHead,\n CTypeCardView,\n FUNERAL_SIDO,\n DTypeBreadCrumb,\n FUNERAL_SIGUNGU,\n ATypeBeneficiaryCTA,\n colors,\n BTypeMap,\n FullWidthButton,\n} from \"goi_common\";\nimport { GetStaticPaths, GetStaticProps } from \"next\";\n\nimport React from \"react\";\nimport { ParlorDetailProps } from \"goi_common\";\nimport { parlorRegion } from \"@/constants/parlorRegion\";\nimport { Box, Stack } from \"@mui/material\";\nimport Head from \"next/head\";\nimport facilities from \"goi_common/src/constants/facilities_detail.json\";\n\nconst { regionColor, targetSidos } = parlorRegion;\n\nexport const getStaticPaths: GetStaticPaths = async () => {\n const paths = facilities\n .filter((f) => targetSidos.includes(f.sido) && f.is_public)\n .map((f) => ({\n params: {\n companyname: f.companyname,\n },\n }));\n\n return {\n paths,\n fallback: false,\n };\n};\n\nexport const getStaticProps: GetStaticProps = async ({ params }) => {\n const companyname = params?.companyname;\n let p_facility;\n let district;\n let name = \"\";\n let description = \"\";\n\n if (companyname) {\n p_facility = facilities.find((f) => f.companyname === companyname);\n if (p_facility) {\n name = p_facility.companyname;\n\n district = p_facility.address.slice(0, 2);\n if (p_facility.address.split(\" \")[0].length == 4)\n district = p_facility.address[0] + p_facility.address[2];\n\n description = `${p_facility?.companyname || ''}의 장지 이용료를 감면 받기 위하여 기초생활수급자임을 증명하는 서류가 필요합니다. 수급자 증명서는 전국 시군구 또는 읍면동 주민센터에서 발급 가능하며, 무인민원발급기(본인에 한함)와 정부24 웹사이트에서 또한 발급 가능합니다.`;\n }\n }\n\n return {\n props: {\n defaultPFacility: p_facility,\n pageDescription: description,\n pageKeywords: `${p_facility?.companyname}, ${p_facility?.companyname} 기초생활수급자, ${district} 기초생활수급자 장례, 장제비, 장제급여, 기초생활수급자 장례 얼마,`,\n pageOgTitle: `${p_facility?.companyname} 기초생활 보호 대상자를 위한 공설 장지 비용 안내 | 서울경기인천장례정보포털`,\n pageOgDescription: description,\n pageOgImage: p_facility?.images[0].url || \"\",\n hasError: !p_facility,\n },\n };\n};\n\nexport default function companyname({\n defaultPFacility,\n pageOgTitle,\n}: {\n defaultPFacility: ParlorDetailProps;\n pageOgTitle: string;\n}) {\n const regionPFacilities = facilities.filter((p) =>\n targetSidos.includes(String(p.sido))\n );\n\n const carouselItems = regionPFacilities.map((res, i) => {\n return {\n \"@type\": \"ListItem\",\n name: `(비용안내) ${res.companyname}`,\n image: `${res.images[0].url}`,\n url: `https://www.metropolitan-funeral.co.kr/benefit/jangji/${res.companyname}/`,\n position: i + 1,\n };\n });\n\n const carouselRichSearch =\n regionPFacilities.length > 6\n ? {\n \"@context\": \"http://schema.org\",\n \"@type\": \"ItemList\",\n itemListElement: carouselItems,\n }\n : {};\n return (\n \n \n {pageOgTitle}\n {regionPFacilities.length > 5 && (\n \n )}\n \n\n \n \n\n \n 기초생활수급자는 화장 비용이 전액 감면됩니다.\n \n\n \n \n e-하늘장사정보시스템에서 가져온 정보이며, 자세한 안치 대상 여부를\n 알아보려면 상담이 필요합니다.\n {\" \"}\n 필요 서류\n \n \n 화장 비용을 전액 감면 받기 위하여 기초생활수급자임을 증명하는 서류가\n 필요합니다.\n \n \n 필요 서류 : 국민기초생활보장수급자 증명서\n \n \n 수급자 증명서는 전국 시군구 또는 읍면동 주민센터에서 발급 가능하며,\n 무인민원발급기(본인에 한함)와 정부24 웹사이트에서 또한 발급\n 가능합니다.\n \n \n 기초생활수급자라면 위의 4가지 혜택을 받을 수 있습니다.{\" \"}\n \n 이해하기 어려운 점이 있거나 더 자세하게 알고 싶은 것이 있다면,\n 바로 상담을 진행하세요.\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n

\n 서울 · 경기 · 인천 지역 장지\n

\n {regionPFacilities.map((res) => (\n \n ))}\n
\n \n );\n}\n"],"names":["window","__NEXT_P","push","__webpack_require__","regionColor","targetSidos","parlorRegion","companyname","param","defaultPFacility","pageOgTitle","regionPFacilities","facilities","filter","includes","String","p","sido","carouselItems","map","res","i","name","concat","image","images","url","position","carouselRichSearch","length","itemListElement","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Stack","Head","jsx","title","script","type","dangerouslySetInnerHTML","__html","JSON","stringify","DTypeBreadCrumb","mainColor","firstItem","text","href","event","domain","path","trigger_and_target","goiHomeEvent","ETypeMainHead","defaultParlor","managed_type","address","isJangji","className","style","background","colors","gray50","padding","margin","gap","Box","component","b","FullWidthButton","backgroundColor","c300","width","height","gray900","marginBottom","BTypeMap","h3","textAlign","CTypeCardView","sigungu","descriptions","imgSrc"],"sourceRoot":""}